package cn.kgc.ssm.service;

import cn.kgc.ssm.commons.ResponseResult;
import cn.kgc.ssm.entity.Member;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 课工场
 * @date 2024/5/16
 * @description
 */
public interface MemberService {
    ResponseResult memberPage(Integer page, Integer limit, String memberName);

    ResponseResult addMember(Member member);

    ResponseResult getMember(Integer id);

    ResponseResult editMember(Member member);

    ResponseResult removeMember(Integer[] ids);

    ResponseResult resetPassword(Integer id);

    ResponseResult registerMember(Member member);

    ResponseResult login(Member member, HttpServletRequest request);
}
